

            


            
using System;
using System.Collections.Generic;
using System.Web;
namespace DatabaseComponent
{
     public partial class TicketType
     {

            //Write any additional methods or properties here 
            //Don't modify any genrated classes


         List<Ticket> _lstTickets = null;

         public List<Ticket> lstTickets
         {
             get {

                 if (_lstTickets == null)
                 {
                     TicketDB objTicketDB = new TicketDB(ConnectionStrings.LMS);
                     List<Ticket> lstTicket = objTicketDB.getTicketByRequestTypeID(ID);
                     if (lstTicket.Count == 0)
                         return new List<Ticket>();

                     _lstTickets = lstTicket;
                 }
                 
                 
                 
                 
                 
                 
                 return _lstTickets; }
             
         }
     }
}
